﻿using System;
using System.Collections;

namespace StackPractice
{
    class Program
    {
        static void Main(string[] args)
        {
            Stack stack = new Stack();
            
            stack.Push("于禁");
            stack.Push("徐晃");
            stack.Push("张辽");
            stack.Push("张郃");
            stack.Push("乐进");
            Console.WriteLine("五子良将：");
            
            while (stack.Count != 0)
            {
              
                Console.WriteLine(stack.Pop());
            }
        }
    }
}
